package com.scm.bean;

/**
 * Dealersale entity. @author MyEclipse Persistence Tools
 */

public class Dealersale implements java.io.Serializable {

	// Fields

	private Integer dealerSaleId;
	private Monthsale monthsale=new Monthsale();
	private Dealer dealer=new Dealer();
	private Integer planSaleCount;
	private Integer saleCount;

	// Constructors

	/** default constructor */
	public Dealersale() {
	}

	/** full constructor */
	public Dealersale(Monthsale monthsale, Dealer dealer,
			Integer planSaleCount, Integer saleCount) {
		this.monthsale = monthsale;
		this.dealer = dealer;
		this.planSaleCount = planSaleCount;
		this.saleCount = saleCount;
	}

	// Property accessors

	public Integer getDealerSaleId() {
		return this.dealerSaleId;
	}

	public void setDealerSaleId(Integer dealerSaleId) {
		this.dealerSaleId = dealerSaleId;
	}

	public Monthsale getMonthsale() {
		return this.monthsale;
	}

	public void setMonthsale(Monthsale monthsale) {
		this.monthsale = monthsale;
	}

	public Dealer getDealer() {
		return this.dealer;
	}

	public void setDealer(Dealer dealer) {
		this.dealer = dealer;
	}

	public Integer getPlanSaleCount() {
		return this.planSaleCount;
	}

	public void setPlanSaleCount(Integer planSaleCount) {
		this.planSaleCount = planSaleCount;
	}

	public Integer getSaleCount() {
		return this.saleCount;
	}

	public void setSaleCount(Integer saleCount) {
		this.saleCount = saleCount;
	}

}